import request from '../../utils/request.ts'
import { list } from "./type.ts";
enum API {
    LIST = '/fileFolder/list',
    NUM = '/fileFolder/num'
}

export const getFileFolderList = (data: list) => request.post(API.LIST, data)
export const getFileFolderNum = (data: String) => request.get(`${API.NUM}?userId=${data}`)